require('./index.scss');
var Config = require('common/config');
var Tool = require('common/tool');
var subMenuList = require('../tradeSubMenu');
require('comp/tab');
require('comp/dialog');
var page ;

var vm = avalon.define({
    $id: 'trade_wt',
    lang: _language=='zh' ? 'CN':'TW',
    tabList:{
        active:0,
        list:subMenuList
    },
    
});

vm.$watch('onReady',function(){
    page = new PageModel();
    window['vm'] = vm;
});


function PageModel(){
    this.queryInfo();
    
}

// 获取取款页面信息
PageModel.prototype.queryInfo = function(){
    var that = this;
    vm.queryLoad = true;
    Tool.ajax({
        url: '/fundTransfer',
        type:"post"
    }).done(function(res){
        vm.queryLoad = false;

    });
}
